<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cbp2make: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cbp2make
   </div>
   <div id="projectbrief">Makefile generation tool for Code::Blocks IDE</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">cbp2make Documentation</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="sec_usage"></a>
Usage</h1>
<p><code> </p>
<pre class="fragment">Usage syntax:

	Generate makefile:
		cbp2make -in &lt;project_file&gt; [-cfg &lt;configuration&gt;] [-out &lt;makefile&gt;]
			 [-unix] [-windows] [-mac] [--all-os] [-targets "&lt;target1&gt;[,&lt;target2&gt;[, ...]]"]
			 [--flat-objects] [--flat-objpath] [--wrap-objects] [--wrap-options]
			 [--with-deps] [--keep-objdir] [--keep-outdir] [--target-case keep|lower|upper]
			 [--macros-case keep|lower|upper] [--quote-path auto|never|always]
		cbp2make -list -in &lt;project_file_list&gt; [-cfg &lt;configuration&gt;]
			 [-unix] [-windows] [-mac] [--all-os] [-targets "&lt;target1&gt;[,&lt;target2&gt;[, ...]]"]
			 [--flat-objects] [--flat-objpath] [--wrap-objects] [--wrap-options]
			 [--with-deps] [--keep-objdir] [--keep-outdir] [--target-case keep|lower|upper]

			 [--macros-case keep|lower|upper] [--quote-path auto|never|always]
	Manage toolchains:
		cbp2make --config toolchain --add [-unix|-windows|-mac] -chain &lt;toolchain&gt;
		cbp2make --config toolchain --remove [-unix|-windows|-mac] -chain &lt;toolchain&gt;

	Manage build tools:
		cbp2make --config tool --add [-unix|-windows|-mac] -chain &lt;toolchain&gt;
			 -tool &lt;tool&gt; -type &lt;type&gt; &lt;tool options&gt;
		cbp2make --config tool --remove [-unix|-windows|-mac] -chain &lt;toolchain&gt;
			 -tool &lt;tool&gt;

	Tool types:	 pp=preprocessor as=assembler cc=compiler rc=resource compiler
			 sl=static linker dl=dynamic linker el=executable linker
			 nl=native linker
	Tool options (common):
			 -desc &lt;description&gt; -program &lt;executable&gt; -command &lt;command_template&gt;
			 -mkv &lt;make_variable&gt; -srcext &lt;source_extensions&gt; -outext &lt;output_extension&gt;
			 -quotepath &lt;yes|no&gt; -fullpath &lt;yes|no&gt; -unixpath &lt;yes|no&gt;
	Tool options (compiler):
			 -incsw &lt;include_switch&gt; -defsw &lt;define_switch&gt; -deps &lt;yes|no&gt;
	Tool options (linker):
			 -ldsw &lt;library_dir_switch&gt; -llsw &lt;link_library_switch&gt; -lpfx &lt;library_prefix&gt;
			 -lext &lt;library_extension&gt; -objext &lt;object_extension&gt; -lflat &lt;yes|no&gt;

	Manage platforms:
		cbp2make --config platform [-unix|-windows|-mac] [-pwd &lt;print_dir_command&gt;]
			 [-cd &lt;change_dir_command&gt;] [-rm &lt;remove_file_command&gt;]
			 [-rmf &lt;remove_file_forced&gt;] [-rmd &lt;remove_dir_command&gt;]
			 [-cp &lt;copy_file_command&gt;] [-mv &lt;move_file_command&gt;]
			 [-md &lt;make_dir_command&gt;] [-mdf &lt;make_dir_forced&gt;]
			 [-make &lt;default_make_tool&gt;]

	Manage global compiler variables:
		cbp2make --config variable --add [-set &lt;set_name&gt;] -name &lt;var_name&gt;
			 [-desc &lt;description&gt;] [-field &lt;field_name&gt;] -value &lt;var_value&gt;
		cbp2make --config variable --remove [-set &lt;set_name&gt;] [-name &lt;var_name&gt;]
			 [-field &lt;field_name&gt;]

	Manage options:
		cbp2make --config options --default-options "&lt;options&gt;"
		cbp2make --config show

	Common options:
		cbp2make --local	// use configuration from current directory
		cbp2make --global	// use configuration from home directory
		cbp2make --verbose	// show project information
		cbp2make --quiet	// hide all messages
		cbp2make --help		// display this message
		cbp2make --version	// display version information

</pre><p> </code> </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jun 9 2013 10:56:09 for cbp2make by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
